package com.zhentao.pojo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

// ScheduleUpdateDTO.java
@Data
public class ScheduleUpdateDTO {
    private Integer scheduleId;
    private String date; // 格式：yyyy-MM-dd
    private List<SourceDTO> sources;
    
    @Data
    public static class SourceDTO {
        private Integer id; // 存在表示更新，null表示新增
        private String timeSlot;
        private Integer total;
        private Integer remaining;
        private BigDecimal fee;
    }
}